package com.yanfan.zutai.domain;

import com.yanfan.common.annotation.Excel;
import com.yanfan.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;


/**
 * 设备定时对象 b_device_time
 *
 * @author ruoyi
 * @date 2021-12-07
 */
@Data
public class BDeviceTime extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id唯一标识
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * guid唯一标识
     */
    private String guid;

    /**
     * 部门id串
     */
    private String deptIdStrs;

    /**
     * 上报时间
     */
    private Date reporteTime;

    /**
     * 设备IMEI号
     */
    @Excel(name = "设备IMEI号")
    private String deviceMac;

    /**
     * 设备名称
     */
    @Excel(name = "设备名称")
    private String deviceName;

    /**
     * 变量设置值
     */
    private String deviceNumber;

    /**
     * 控制器名称
     */
    @Excel(name = "变量名称")
    private String controName;

    /**
     * 月份
     */
    @Excel(name = "月份")
    private String month;

    /**
     * 星期
     */
    @Excel(name = "星期")
    private String week;

    /**
     * 时
     */
    @Excel(name = "时")
    private Integer hour;

    /**
     * 分
     */
    @Excel(name = "分")
    private Integer minute;

    /**
     * 0关1开
     */
    @Excel(name = "0关1开")
    private Integer bootIndication;

    private String[] months;
    private String[] weeks;
    /**
     * 定时器启用状态(0不启用1启用）
     */
    @Excel(name = "定时器启用状态(0不启用1启用）")
    private Integer status;
}
